package main

import (
	"flag"
	"log"
	"lowcode_deployment/app"
	"lowcode_deployment/pkg/config"
)

func main() {
	//  go run main.go --env_path=/root/go/src/lowcode_deployment/.env
	var envPath = flag.String("env_path", "", "config env path")
	flag.Parse()
	log.Printf("env path is %s", *envPath)

	config.Bootstrap(*envPath)

	scheduler := &app.Scheduler{}
	scheduler.Run()

}
